@import '../../../css/colorVar.less';

.bondDeviation {
  height: 100%;

  :global {
    .ant-btn {
      font-size: 14px !important;
    }

    .ant-select-dropdown,
    .ant-tabs {
      font-size: 14px !important;
      color: @text_main !important;
      font-family: PingFangSC-Regular, sans-serif !important;
    }

    .ant-tabs-bar {
      margin-bottom: 10px;
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;

      .ant-tabs-nav-container {
        font-size: 14px !important;
        color: @text_main;
        font-family: PingFangSC-Regular, sans-serif !important;
      }
    }

    .ant-tabs-nav .ant-tabs-tab-active {
      font-size: 14px !important;
      color: @theme !important;
      font-family: PingFangSC-Regular, sans-serif !important;
    }

    .ant-tabs-nav .ant-tabs-tab {
      padding: 10px 21px;
      margin: 0;
      font-family: PingFangSC-Regular, sans-serif !important;
    }

    .ant-tabs-nav .ant-tabs-tab:hover {
      color: @theme!important;
    }

    .ant-tabs-ink-bar {
      background-color: @theme !important;
      // width: 70px;
    }

    .ant-form-item-label label,
    .ant-input,
    .ant-select,
    .ant-select-dropdown {
      font-size: 14px !important;
      color: @text_main !important;
    }

    .ant-input-number {
      border-radius: 2px !important;
      width: 90px !important;
    }

    .ant-form-item {
      margin-bottom: 10px !important;
    }

    .ant-select-selection,
    .ant-input {
      border: 1px solid @calendar_border;
    }

    .ant-select-arrow .ant-select-arrow-icon,
    .ant-calendar-picker-icon {
      color: @calendar_border;
    }

    .ant-card {
      margin-bottom: 12px;
      background: transparent;
      border: 0;

      .ant-card-head {
        margin-bottom: 10px;
        padding: 6px 20px 6px 38px;
        min-height: 30px;
        border-bottom: 0;
        border-radius: 0px;
        background: @first_level_title_auxiliary !important;

        .ant-card-head-title {
          padding: 0;
          height: 18px;
          line-height: 18px;
          color: @text_main !important;
          font-family: 'PingFangSC-Medium';
          font-size: 14px;
        }
      }

      .ant-card-body {
        padding: 0;
      }
    }

    .ant-select-selection,
    .ant-input {
      border-radius: 2px !important;
    }

    .search-button {
      background-color: @theme;
      color: @butt_text;
      border-radius: 2px;
      border: 0px;
      margin-right: 10px;
      width: 60px;
      height: 30px;
      padding: 0;
    }

    .reset-button {
      background-color: @butt_text;
      color: @theme;
      border-radius: 2px;
      border: 1px solid @theme;
      width: 60px;
      height: 30px;
      padding: 0;
    }

    .main_bg {
      background: @section_bg;
      padding: 20px;
      margin-bottom: 15px;

      .tree_select {
        .ant-form-item-control > span {
          width: 100%;
          display: block;

          > span {
            width: 100%;
          }
        }
      }
    }

    .ant-select-selection--multiple {
      height: 30px;
      min-height: 30px;
      padding-bottom: 0px;
      zoom: 1;
    }

    .ant-form-item,
    .ant-select,
    .ant-card,
    .ant-input,
    .ant-select-dropdown,
    .ant-input-number {
      font-family: PingFangSC-Regular, sans-serif !important;
      color: @text_main;
    }
  }

  .barTip {
    display: flex;
    align-items: center;
    margin-left: 20px;

    .barIcon {
      margin-right: 10px;
      color: @theme;
    }

    span {
      color: @text_auxiliary;
      font-size: 12px;
    }
  }

  .rowFlex {
    > div {
      margin-right: 40px;
    }

    > div:last-child {
      margin-right: 0;

      .flexForm .ant-form-item-children {
        top: 3px;
        display: flex;
      }
    }
  }

  .flexForm {
    display: flex;

    > span {
      margin-right: 4px;
      display: inline-block;
      line-height: 39px;
      height: 39px;
      font-size: 14px;
    }

    > span:last-child {
      padding-left: 10px;
    }

    .ant-form-item {
      margin: 0 !important;
    }
  }
}
